package com.ruoyi.account.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 管理不同账套的访问权限对象 tb_account_set_permissions
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
public class AccountSetPermissions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 账套外键 */
    @Excel(name = "账套外键")
    private String accountSetId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 账套管理员 */
    @Excel(name = "账套管理员")
    private String accountSetManager;

    /** 其他角色权限 */
    @Excel(name = "其他角色权限")
    private String otherRolesPermissions;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccountSetId(String accountSetId) 
    {
        this.accountSetId = accountSetId;
    }

    public String getAccountSetId() 
    {
        return accountSetId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setAccountSetManager(String accountSetManager) 
    {
        this.accountSetManager = accountSetManager;
    }

    public String getAccountSetManager() 
    {
        return accountSetManager;
    }
    public void setOtherRolesPermissions(String otherRolesPermissions) 
    {
        this.otherRolesPermissions = otherRolesPermissions;
    }

    public String getOtherRolesPermissions() 
    {
        return otherRolesPermissions;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accountSetId", getAccountSetId())
            .append("unitName", getUnitName())
            .append("accountSetManager", getAccountSetManager())
            .append("otherRolesPermissions", getOtherRolesPermissions())
            .toString();
    }
}
